/**
 * 
 */
package com.jdy.haoduoaiteacher.model;

import java.util.ArrayList;

/**
 * @author zp 2016-12-9 上午10:44:18
 */
public class ChildrenDiscussionItem {

  public int id;

  public int pid;

  public String member_id;

  public String comment;

  public String created_at;

  public Member member;

  public Member parentMember;

  public ArrayList<ChildrenDiscussionItem> children_comments;

  public void initialize() {
    if (children_comments != null) {
      for (ChildrenDiscussionItem cdi : this.children_comments) {
        cdi.parentMember = member;
      }
    }
  }

}
